﻿<?php
/*
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
echo EXT;
$data['login'] = 'erhuok is ok';
extract($data);
echo $login;
*/
class db {
	/**
	 * static $instance
	 */
	private static $instance;
	
	/**
	 * 
	 */
	public function __construct(){
		self::$instance =& $this;
	}
	
	public function &getInstance() {
		return self::$instance;
	}
}
?>